﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="joinmenu.ascx.cs" Inherits="uc_joinmenu" %>
<%@ Import Namespace="System.Data" %>
    <div class="flr wid180">
        <div class="menu_second_UL">
            <ul>
                <% 
                    if (ds != null && ds.Tables.Count > 0 && ds.Tables[0].Rows.Count > 0)
                    {
                        foreach (DataRow dr in ds.Tables[0].Rows)
                        {
                            string name = dr["LM_Name"].ToString();
                            string url = dr["LM_SourceUrl"].ToString();
                            string urlName = dr["LM_UrlName"].ToString();
                            if (string.IsNullOrEmpty(url))
                            {
                                url = Utility.GetLanmuUrlNmae(Utility.JoinCid) + "-" + urlName + ".html";
                            }
                %>
                <li title="<%=name %>"><a <%if(Request.RawUrl.Contains(url)) {%> class="current_red"<%} %> href="<%=url %>"><%=name %></a></li>
                <% 
                        }
                    }
                    else
                    { 
                %>
                <li><a href="join-concept.html">人才理念</a></li>
                <li><a href="join-jobs.html">人才招聘</a></li>
                <li><a href="join-process.html">招聘流程</a></li>
                <li><a href="join-rfwork.html">工作在日发</a></li>
                <%                     
                    }                 
                %>
            </ul>
        </div>
    </div>